﻿
namespace ChopPlugin
{
    /// <summary>
    /// Container for options available for PDF generation
    /// </summary>
    public class PdfOptions
    {
        /// <summary> Start number for page numbering in generated Pdf</summary>
        public int StartPage { get; set; }
        /// <summary> Text to apply in footer of generated Pdf</summary>
        public string BottomText { get; set; }
        /// <summary> Indent by hierarchy level if true. indent by code length if false</summary>
        public bool IndentByLevel { get; set; }

        /// <summary> Inner split code table that is bigger than a page height </summary>
        public bool SplitLargeTable { get; set; }

        /// <summary> Reorder align for better readability </summary>
        public bool BeautifyAlign { get; set; }

        /// <summary> If true avoid numbering pages </summary>
        public bool SuppressNumbering { get; set; }

        /// <summary> If true uses smaller fonts </summary>
        public bool UseSmallFonts { get; set; }

        public PdfOptions()
        {
            StartPage = 1;
            BottomText = string.Empty;

        }
    }
}
